BillingPortalConfigurationApplicationOrId.fromJson constructor

BillingPortalConfigurationApplicationOrId.fromJson(
  1. Object? json
)

Implementation

factory BillingPortalConfigurationApplicationOrId.fromJson(Object? json) {
  if (json is String) {
    return BillingPortalConfigurationApplicationId(id: json);
  }
  return BillingPortalConfigurationApplication.fromJson(json);
}