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 (signature != null) 'signature': signature!,
  if (signatureCrc32c != null) 'signatureCrc32c': signatureCrc32c!,
  if (verifiedDataCrc32c != null) 'verifiedDataCrc32c': verifiedDataCrc32c!,
  if (verifiedDigestCrc32c != null)
    'verifiedDigestCrc32c': verifiedDigestCrc32c!,
};