FinancialConnectionsAccountOwnershipOrId.fromJson constructor

FinancialConnectionsAccountOwnershipOrId.fromJson(
  1. Object? json
)

Implementation

factory FinancialConnectionsAccountOwnershipOrId.fromJson(Object? json) {
  if (json is String) {
    return FinancialConnectionsAccountOwnershipId(id: json);
  }
  return FinancialConnectionsAccountOwnership.fromJson(json);
}