Sender.fromJson constructor
Sender.fromJson(
- List jsonList
A necessary factory constructor for creating a new Sender instance
from a map. Pass the map to the generated _$SenderFromJson()
constructor.
The constructor is named after the source class, in this case, Sender.
Implementation
factory Sender.fromJson(List<dynamic> jsonList) => Sender(
ToplAddress.fromBase58(jsonList[0] as String), jsonList[1] as String);