toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (keyId != null) 'keyId': keyId!,
      if (keyType != null) 'keyType': keyType!,
      if (publicKey != null) 'publicKey': publicKey!,
      if (signature != null) 'signature': signature!,
    };