toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final accessId = this.accessId;
  final etag = this.etag;
  final id = this.id;
  final kind = this.kind;
  final projectId = this.projectId;
  final selfLink = this.selfLink;
  final serviceAccountEmail = this.serviceAccountEmail;
  final state = this.state;
  final timeCreated = this.timeCreated;
  final updated = this.updated;
  return {
    'accessId': ?accessId,
    'etag': ?etag,
    'id': ?id,
    'kind': ?kind,
    'projectId': ?projectId,
    'selfLink': ?selfLink,
    'serviceAccountEmail': ?serviceAccountEmail,
    'state': ?state,
    'timeCreated': ?timeCreated?.toUtc().toIso8601String(),
    'updated': ?updated?.toUtc().toIso8601String(),
  };
}