Object.fromJson constructor

Object.fromJson(
  1. Map json_
)

Implementation

Object.fromJson(core.Map json_)
    : this(
        containers: json_.containsKey('containers')
            ? (json_['containers'] as core.List)
                .map((value) => Container.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        group:
            json_.containsKey('group') ? json_['group'] as core.String : null,
        kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        ns: json_.containsKey('ns') ? json_['ns'] as core.String : null,
      );