toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final alternateEmail = this.alternateEmail;
  final customerCreationTime = this.customerCreationTime;
  final customerDomain = this.customerDomain;
  final etag = this.etag;
  final id = this.id;
  final kind = this.kind;
  final language = this.language;
  final phoneNumber = this.phoneNumber;
  final postalAddress = this.postalAddress;
  return {
    'alternateEmail': ?alternateEmail,
    'customerCreationTime': ?customerCreationTime?.toUtc().toIso8601String(),
    'customerDomain': ?customerDomain,
    'etag': ?etag,
    'id': ?id,
    'kind': ?kind,
    'language': ?language,
    'phoneNumber': ?phoneNumber,
    'postalAddress': ?postalAddress,
  };
}