mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-12-23 03:49:22 +00:00
afbf818ab5
TODO replace casting throughout ordinals DTOs with refactored validation
13 lines
322 B
Dart
13 lines
322 B
Dart
class InscriptionLink {
|
|
final String href;
|
|
final String title;
|
|
|
|
InscriptionLink({required this.href, required this.title});
|
|
|
|
factory InscriptionLink.fromJson(Map<String, dynamic> json) {
|
|
return InscriptionLink(
|
|
href: json['href'] as String ?? '',
|
|
title: json['title'] as String ?? '',
|
|
);
|
|
}
|
|
}
|