getLuckyNumber static method
Implementation
static Future<DataResult> getLuckyNumber(int? number) async {
Map other = {'betsNumber': '$number'};
var res = await BaseDao.fromBaseJson(other, Address.getLuckyNumber());
if (res.result) {
var entity = LuckyNumberEntity.fromJson(res.data);
return DataResult(entity, true);
}
return res;
}