schema method

Future<Map<String, dynamic>?> schema()

Implementation

Future<Map<String, dynamic>?> schema() async {
  var ret = await _getOrSetData<Map<String, dynamic>>("!/collections/collection/${this.collection}")();
  return ret.isNotEmpty ? ret.first : null;
}