IssuingCardOrId.fromJson constructor

IssuingCardOrId.fromJson(
  1. Object? json
)

Implementation

factory IssuingCardOrId.fromJson(Object? json) {
  if (json is String) {
    return IssuingCardId(id: json);
  }
  return IssuingCard.fromJson(json);
}