RealtimeListener constructor
Implementation
RealtimeListener({required this.close, this.onChange, this.onError}) {
if (this.onChange == null) {
this.onChange = (Snapshot snapshot) {};
}
if (this.onError == null) {
this.onError = (error) {};
}
}