toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (attestation != null) 'attestation': attestation!,
      if (createTime != null) 'createTime': createTime!,
      if (expireEventTime != null) 'expireEventTime': expireEventTime!,
      if (expireTime != null) 'expireTime': expireTime!,
      if (generateTime != null) 'generateTime': generateTime!,
      if (importMethod != null) 'importMethod': importMethod!,
      if (name != null) 'name': name!,
      if (protectionLevel != null) 'protectionLevel': protectionLevel!,
      if (publicKey != null) 'publicKey': publicKey!,
      if (state != null) 'state': state!,
    };