IssuingCardholderOrId.fromJson constructor

IssuingCardholderOrId.fromJson(
  1. Object? json
)

Implementation

factory IssuingCardholderOrId.fromJson(Object? json) {
  if (json is String) {
    return IssuingCardholderId(id: json);
  }
  return IssuingCardholder.fromJson(json);
}