updateSchema method
Implementation
Future<Map<String, dynamic>?> updateSchema(List<Map<String,dynamic>> fields) async {
var ret = await _getOrSetData<Map<String, dynamic>>("!/collections/updateCollection/${this.collection}")(
save: {
"data" : {
"fields" : fields
}
}
);
return ret.isNotEmpty ? ret.first : null;
}