addCoinByShare static method
Implementation
static Future<DataResult> addCoinByShare(int type, String? param) async {
Map other = {'type': type, 'param': param};
var res = await BaseDao.fromBaseEncrypt(other, Address.addCoinByShare());
if (res.result) {
var entity = TokenEntity.fromJson(res.data);
return DataResult(entity, true);
}
return res;
}