ApplicationFeeOrId.fromJson constructor

ApplicationFeeOrId.fromJson(
  1. Object? json
)

Implementation

factory ApplicationFeeOrId.fromJson(Object? json) {
  if (json is String) {
    return ApplicationFeeId(id: json);
  }
  return ApplicationFee.fromJson(json);
}