toJson method

Map<String, dynamic> toJson()

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,
  };
}