Screen.fromJson constructor

Screen.fromJson(
  1. Map _json
)

Implementation

Screen.fromJson(core.Map _json)
    : this(
        fileReference: _json.containsKey('fileReference')
            ? _json['fileReference'] as core.String
            : null,
        locale: _json.containsKey('locale')
            ? _json['locale'] as core.String
            : null,
        model:
            _json.containsKey('model') ? _json['model'] as core.String : null,
        version: _json.containsKey('version')
            ? _json['version'] as core.String
            : null,
      );