fromJSON static method
Implementation
static ModeInfo fromJSON(TxSignerModeInfo data) {
if (data.single != null) {
return ModeInfo(data.single);
}
// if (data.multi != null)
// {
// return new ModeInfo(data.multi);
// }
throw Exception("Must Single or Multi");
}