ManagedProperty.fromJson constructor
ManagedProperty.fromJson(
- Map json_
Implementation
ManagedProperty.fromJson(core.Map json_)
: this(
defaultValue:
json_.containsKey('defaultValue') ? json_['defaultValue'] : null,
description: json_.containsKey('description')
? json_['description'] as core.String
: null,
entries: json_.containsKey('entries')
? (json_['entries'] as core.List)
.map((value) => ManagedPropertyEntry.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
key: json_.containsKey('key') ? json_['key'] as core.String : null,
nestedProperties: json_.containsKey('nestedProperties')
? (json_['nestedProperties'] as core.List)
.map((value) => ManagedProperty.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
title:
json_.containsKey('title') ? json_['title'] as core.String : null,
type: json_.containsKey('type') ? json_['type'] as core.String : null,
);