SourceFailedEvent.fromJson constructor

SourceFailedEvent.fromJson(
  1. Object? json
)

Implementation

factory SourceFailedEvent.fromJson(Object? json) {
  final map = (json as Map).cast<String, Object?>();
  return SourceFailedEvent(object: Source.fromJson(map['object']));
}