toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (mac != null) 'mac': mac!,
  if (macCrc32c != null) 'macCrc32c': macCrc32c!,
  if (name != null) 'name': name!,
  if (protectionLevel != null) 'protectionLevel': protectionLevel!,
  if (verifiedDataCrc32c != null) 'verifiedDataCrc32c': verifiedDataCrc32c!,
};