mirrored_repositories/espresso-cash-public/packages/solana/lib/src
import 'package:json_annotation/json_annotation.dart';

part 'collection.g.dart';

@JsonSerializable()
class Collection {
  const Collection({
    required this.name,
    required this.family,
  });

  factory Collection.fromJson(Map<String, dynamic> json) =>
      _$CollectionFromJson(json);

  final String name;
  final String family;

  Map<String, dynamic> toJson() => _$CollectionToJson(this);
}
