toJsonString method
Implementation
String toJsonString() {
final Map<String, dynamic> map = {};
map['Channel'] = channel;
map['StreamType'] = streamType;
map['BeginTime'] = DateUtil.formatDateTime(beginTime);
map['EndTime'] = DateUtil.formatDateTime(endTime);
map['FileName'] = fileName;
return json.encode(map);
}