toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (accessUrl != null) 'accessUrl': accessUrl!,
      if (createTime != null) 'createTime': createTime!,
      if (labels != null) 'labels': labels!,
      if (name != null) 'name': name!,
      if (pemCrl != null) 'pemCrl': pemCrl!,
      if (revokedCertificates != null)
        'revokedCertificates':
            revokedCertificates!.map((value) => value.toJson()).toList(),
      if (sequenceNumber != null) 'sequenceNumber': sequenceNumber!,
      if (state != null) 'state': state!,
      if (updateTime != null) 'updateTime': updateTime!,
    };