toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final externalUserId = this.externalUserId;
  final tags = this.tags;
  return {
    'ExternalUserId': externalUserId,
    if (tags != null) 'Tags': tags,
  };
}