convertStreamForce<T> method
Implementation
Stream<T> convertStreamForce<T>(T Function(Map<String, dynamic>) convertor) {
return readStream().map((event) {
if (event != null && event.isNotEmpty) {
return convertor(event);
}
throw Exception('event is null');
});
}