ApigatewayBinding.fromJson constructor

ApigatewayBinding.fromJson(
  1. Map json_
)

Implementation

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