Namespace.fromJson constructor
Namespace.fromJson(
- Map json_
Implementation
Namespace.fromJson(core.Map json_)
: this(
labels: json_.containsKey('labels')
? (json_['labels'] as core.Map<core.String, core.dynamic>).map(
(key, value) => core.MapEntry(
key,
value as core.String,
),
)
: null,
name: json_.containsKey('name') ? json_['name'] as core.String : null,
uid: json_.containsKey('uid') ? json_['uid'] as core.String : null,
);