VideoTriggerEvent.fromMap constructor

VideoTriggerEvent.fromMap(
  1. Map<String, dynamic> map
)

Implementation

factory VideoTriggerEvent.fromMap(Map<String, dynamic> map) {
  return VideoTriggerEvent(
      time: DateTime.parse(map['time']),
      args: map['args'],
      sessionId: map['sessionId'],
      type: parseType(map['type']));
}