Locale.fromJson constructor
Locale.fromJson(
- Map json_
Implementation
Locale.fromJson(core.Map json_)
: this(
id: json_.containsKey('id') ? json_['id'] as core.String : null,
name: json_.containsKey('name') ? json_['name'] as core.String : null,
region: json_.containsKey('region')
? json_['region'] as core.String
: null,
tags: json_.containsKey('tags')
? (json_['tags'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
);