ErrorGroup.fromJson constructor

ErrorGroup.fromJson(
  1. Map _json
)

Implementation

ErrorGroup.fromJson(core.Map _json)
    : this(
        groupId: _json.containsKey('groupId')
            ? _json['groupId'] as core.String
            : null,
        name: _json.containsKey('name') ? _json['name'] as core.String : null,
        resolutionStatus: _json.containsKey('resolutionStatus')
            ? _json['resolutionStatus'] as core.String
            : null,
        trackingIssues: _json.containsKey('trackingIssues')
            ? (_json['trackingIssues'] as core.List)
                .map((value) => TrackingIssue.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );