toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (capacityBytes != null) 'capacityBytes': capacityBytes!,
      if (fileSystem != null) 'fileSystem': fileSystem!,
      if (freeBytes != null) 'freeBytes': freeBytes!,
      if (mountPoint != null) 'mountPoint': mountPoint!,
      if (subPartitions != null) 'subPartitions': subPartitions!,
      if (type != null) 'type': type!,
      if (uuid != null) 'uuid': uuid!,
    };