ManagedProperty.fromJson constructor

ManagedProperty.fromJson(
  1. Map json_
)

Implementation

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