toJson method

  1. @override
Map<String, dynamic> toJson ()
override

Implementation

@override
Map<String, dynamic> toJson() {
  var json = <String, dynamic>{};
  json['type'] = 'TimelineFlags';
  json.addAll({
    'recorderName': recorderName,
    'availableStreams': availableStreams.map((f) => f).toList(),
    'recordedStreams': recordedStreams.map((f) => f).toList(),
  });
  return json;
}