PalletConstantMetadata.fromJson constructor
Implementation
factory PalletConstantMetadata.fromJson(Map<String, dynamic> json) {
return PalletConstantMetadata(
name: json['name'],
type: json['ty'],
value: Uint8List.fromList((json['value'] as List).cast<int>()),
docs: (json['docs'] as List).cast<String>(),
);
}