This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import 'dart:async'; | |
| import 'dart:convert'; | |
| import 'package:flutter/foundation.dart'; | |
| import 'package:flutter/material.dart'; | |
| import 'package:http/http.dart' as http; | |
| Future<List<Result>> fetchResults(http.Client client) async { | |
| final response = await client.get('https://api.myjson.com/bins/j5xau'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function rosterMaker() { | |
| //spreadsheet id of the rosters | |
| var SHEET_ID = FormApp.getActiveForm().getDestinationId(); | |
| var ss = SpreadsheetApp.openById(SHEET_ID); | |
| var form = FormApp.getActiveForm(); | |
| //get only the sheets with 'Roster' in the title | |
| var sheets = ss.getSheets() | |
| .filter(function(sheet) {return sheet.getName().match(/Roster/gi);}); | |