V2TimReceiveMessageOptInfo.fromJson constructor

V2TimReceiveMessageOptInfo.fromJson(
  1. Map<String, dynamic> jsonStr
)

Implementation

V2TimReceiveMessageOptInfo.fromJson(Map<String, dynamic> jsonStr) {
  c2CReceiveMessageOpt = jsonStr['c2CReceiveMessageOpt'];
  userID = jsonStr['userID'];
  allReceiveMessageOpt = jsonStr['allReceiveMessageOpt'];
  duration = jsonStr['duration'];
  startHour = jsonStr['startHour'];
  startSecond = jsonStr['startSecond'];
  startTimeStamp = jsonStr['startTimeStamp'];
  startMinute = jsonStr['startMinute'];
}