Control.fromJson constructor

Control.fromJson(
  1. Map json_
)

Implementation

Control.fromJson(core.Map json_)
    : this(
        environment: json_['environment'] as core.String?,
        methodPolicies: (json_['methodPolicies'] as core.List?)
            ?.map((value) => MethodPolicy.fromJson(
                value as core.Map<core.String, core.dynamic>))
            .toList(),
      );