asMap method
Implementation
Map asMap() {
Map<String, dynamic> map = {};
map['documentType'] = documentType.stringValue;
map['androidCustomization'] = androidCustomization?.asMap();
map['iOSCustomization'] = iOSCustomization?.asMap();
return map;
}