toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (iamPermission != null) 'iamPermission': iamPermission!,
      if (iamServiceName != null) 'iamServiceName': iamServiceName!,
      if (policyName != null) 'policyName': policyName!,
      if (resource != null) 'resource': resource!,
    };