IssuingTokenOrId.fromJson constructor

IssuingTokenOrId.fromJson(
  1. Object? json
)

Implementation

factory IssuingTokenOrId.fromJson(Object? json) {
  if (json is String) {
    return IssuingTokenId(id: json);
  }
  return IssuingToken.fromJson(json);
}