ResourceStatus.fromJson constructor

ResourceStatus.fromJson(
  1. Map json_
)

Implementation

ResourceStatus.fromJson(core.Map json_)
    : this(
        physicalHost: json_.containsKey('physicalHost')
            ? json_['physicalHost'] as core.String
            : null,
        upcomingMaintenance: json_.containsKey('upcomingMaintenance')
            ? UpcomingMaintenance.fromJson(json_['upcomingMaintenance']
                as core.Map<core.String, core.dynamic>)
            : null,
      );