LivePullStateEntity.fromJson constructor

LivePullStateEntity.fromJson(
  1. 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);
}