Binding.fromJson constructor
Binding.fromJson(
- Map json_
Implementation
Binding.fromJson(core.Map json_)
: this(
bindingId: json_.containsKey('bindingId')
? json_['bindingId'] as core.String
: null,
condition: json_.containsKey('condition')
? Expr.fromJson(
json_['condition'] as core.Map<core.String, core.dynamic>)
: null,
members: json_.containsKey('members')
? (json_['members'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
role: json_.containsKey('role') ? json_['role'] as core.String : null,
);