onResonse method
Converts the response result to the specified type RESULT
.
Implementation
@override
TronAccountModel? onResonse(result) {
if (result.isEmpty) {
return null;
}
return TronAccountModel.fromJson(result);
}
Converts the response result to the specified type RESULT
.
@override
TronAccountModel? onResonse(result) {
if (result.isEmpty) {
return null;
}
return TronAccountModel.fromJson(result);
}