retrieve method

Future<List<Schema>> retrieve()

Returns Schema of all your collections. The collections are returned sorted by creation date, with the most recent collections appearing first.

Implementation

Future<List<Schema>> retrieve() async {
  return (await _collectionsApiCall.get(resourcepath))
      .map((schema) => Schema.fromMap(schema))
      .toList(growable: false);
}