LivePullStateEntity.fromJson constructor
LivePullStateEntity.fromJson(
- dynamic json
Implementation
LivePullStateEntity.fromJson(dynamic json) {
payType = json['payType'];
feeType = json['feeType'];
pullAddress = json['pullAddress'];
pullAddress360 = json['pullAddress360'];
durationTime = json['durationTime'];
endTime = json['endTime'];
coin = DynamicUtils.safeToInt(json['money']);
liveState = DynamicUtils.safeToInt(json['liveState'], def: LiveState.LIVING);
}