toMap method
Implementation
Map<String, dynamic> toMap() {
return <String, dynamic>{
'collectionGroup': collectionGroup,
'fieldPath': fieldPath,
'indexes':
indexes.map((FieldOverrideIndex index) => index.toMap()).toList(),
};
}