AddRolesRequest.fromJson constructor

AddRolesRequest.fromJson(
  1. Map json_
)

Implementation

AddRolesRequest.fromJson(core.Map json_)
    : this(
        consumerNetwork: json_.containsKey('consumerNetwork')
            ? json_['consumerNetwork'] as core.String
            : null,
        policyBinding: json_.containsKey('policyBinding')
            ? (json_['policyBinding'] as core.List)
                .map((value) => PolicyBinding.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );