toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final customType = this.customType;
  final emailAddress = this.emailAddress;
  final emailUrl = this.emailUrl;
  final primary = this.primary;
  final type = this.type;
  return {
    'customType': ?customType,
    'emailAddress': ?emailAddress,
    'emailUrl': ?emailUrl,
    'primary': ?primary,
    'type': ?type,
  };
}