$PathReportDimensionValue.fromJson constructor Null safety

$PathReportDimensionValue.fromJson(
  1. Map _json
)

Implementation

$PathReportDimensionValue.fromJson(core.Map _json)
    : this(
        dimensionName: _json.containsKey('dimensionName')
            ? _json['dimensionName'] as core.String
            : null,
        ids: _json.containsKey('ids')
            ? (_json['ids'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        kind: _json.containsKey('kind') ? _json['kind'] as core.String : null,
        matchType: _json.containsKey('matchType')
            ? _json['matchType'] as core.String
            : null,
        values: _json.containsKey('values')
            ? (_json['values'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
      );