toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (contact != null) 'contact': contact!,
      if (creator != null) 'creator': creator!,
      if (description != null) 'description': description!,
      if (disableReason != null) 'disableReason': disableReason!,
      if (disabled != null) 'disabled': disabled!,
      if (extendedStatus != null) 'extendedStatus': extendedStatus!,
      if (keyAlgorithm != null) 'keyAlgorithm': keyAlgorithm!,
      if (keyOrigin != null) 'keyOrigin': keyOrigin!,
      if (keyType != null) 'keyType': keyType!,
      if (name != null) 'name': name!,
      if (privateKeyData != null) 'privateKeyData': privateKeyData!,
      if (privateKeyType != null) 'privateKeyType': privateKeyType!,
      if (publicKeyData != null) 'publicKeyData': publicKeyData!,
      if (validAfterTime != null) 'validAfterTime': validAfterTime!,
      if (validBeforeTime != null) 'validBeforeTime': validBeforeTime!,
    };