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 (success != null) 'success': success!,
      if (verifiedDataCrc32c != null)
        'verifiedDataCrc32c': verifiedDataCrc32c!,
      if (verifiedMacCrc32c != null) 'verifiedMacCrc32c': verifiedMacCrc32c!,
      if (verifiedSuccessIntegrity != null)
        'verifiedSuccessIntegrity': verifiedSuccessIntegrity!,
    };