getSchema method

Future<List<CollectionSchema>> getSchema()

Implementation

Future<List<CollectionSchema<dynamic>>> getSchema() async {
  final schema = await _call<List<dynamic>>(ConnectAction.getSchema);
  return schema
      .map(
        (e) => CollectionSchema<dynamic>.fromJson(e as Map<String, dynamic>),
      )
      .toList();
}