AppsOutage.fromJson constructor

AppsOutage.fromJson(
  1. Map _json
)

Implementation

AppsOutage.fromJson(core.Map _json)
    : this(
        dashboardUri: _json.containsKey('dashboardUri')
            ? _json['dashboardUri'] as core.String
            : null,
        nextUpdateTime: _json.containsKey('nextUpdateTime')
            ? _json['nextUpdateTime'] as core.String
            : null,
        products: _json.containsKey('products')
            ? (_json['products'] as core.List)
                .map<core.String>((value) => value as core.String)
                .toList()
            : null,
        resolutionTime: _json.containsKey('resolutionTime')
            ? _json['resolutionTime'] as core.String
            : null,
        status: _json.containsKey('status')
            ? _json['status'] as core.String
            : null,
      );