toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final connectorType = this.connectorType;
  final domains = this.domains;
  final resourceIdentifier = this.resourceIdentifier;
  return {
    'ConnectorType': connectorType.toValue(),
    if (domains != null) 'Domains': domains,
    if (resourceIdentifier != null) 'ResourceIdentifier': resourceIdentifier,
  };
}