toJson method
Implementation
Map<String, dynamic> toJson() {
final accessMethodType = this.accessMethodType;
final customObjectIdentifier = this.customObjectIdentifier;
return {
if (accessMethodType != null)
'AccessMethodType': accessMethodType.toValue(),
if (customObjectIdentifier != null)
'CustomObjectIdentifier': customObjectIdentifier,
};
}