GoogleIamV1Binding.fromJson constructor

GoogleIamV1Binding.fromJson(
  1. Map _json
)

Implementation

GoogleIamV1Binding.fromJson(core.Map _json)
    : this(
        condition: _json.containsKey('condition')
            ? GoogleTypeExpr.fromJson(
                _json['condition'] as core.Map<core.String, core.dynamic>)
            : null,
        members: _json.containsKey('members')
            ? (_json['members'] as core.List)
                .map<core.String>((value) => value as core.String)
                .toList()
            : null,
        role: _json.containsKey('role') ? _json['role'] as core.String : null,
      );