EventRecord.fromJson constructor

EventRecord.fromJson(
  1. Map<String, dynamic> value
)

Implementation

factory EventRecord.fromJson(Map<String, dynamic> value) {
  return EventRecord._(
    phase: Map<String, dynamic>.from(value['phase']),
    event: Map<String, dynamic>.from(value['event']),
    topics: List<String>.from(value['topics']),
  );
}