RecordingStateChangedEvent.fromJson constructor

RecordingStateChangedEvent.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory RecordingStateChangedEvent.fromJson(Map<String, dynamic> json) {
  return RecordingStateChangedEvent(
    isRecording: json['isRecording'] as bool? ?? false,
    service: ServiceName.fromJson(json['service'] as String),
  );
}