SnapshotReservationDetail.fromJson constructor

SnapshotReservationDetail.fromJson(
  1. Map json_
)

Implementation

SnapshotReservationDetail.fromJson(core.Map json_)
    : this(
        reservedSpaceGib: json_.containsKey('reservedSpaceGib')
            ? json_['reservedSpaceGib'] as core.String
            : null,
        reservedSpacePercent: json_.containsKey('reservedSpacePercent')
            ? json_['reservedSpacePercent'] as core.int
            : null,
        reservedSpaceRemainingGib:
            json_.containsKey('reservedSpaceRemainingGib')
                ? json_['reservedSpaceRemainingGib'] as core.String
                : null,
        reservedSpaceUsedPercent:
            json_.containsKey('reservedSpaceUsedPercent')
                ? json_['reservedSpaceUsedPercent'] as core.int
                : null,
      );