toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (name != null) 'name': name!,
  if (protectionLevel != null) 'protectionLevel': protectionLevel!,
  if (sharedSecret != null) 'sharedSecret': sharedSecret!,
  if (sharedSecretCrc32c != null) 'sharedSecretCrc32c': sharedSecretCrc32c!,
  if (verifiedCiphertextCrc32c != null)
    'verifiedCiphertextCrc32c': verifiedCiphertextCrc32c!,
};