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,
      );