ListRulesetsResponse.fromJson constructor
ListRulesetsResponse.fromJson(
- Map json_
Implementation
ListRulesetsResponse.fromJson(core.Map json_)
: this(
nextPageToken: json_.containsKey('nextPageToken')
? json_['nextPageToken'] as core.String
: null,
rulesets: json_.containsKey('rulesets')
? (json_['rulesets'] as core.List)
.map((value) => Ruleset.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
);