AiuiEvent.fromJson constructor

AiuiEvent.fromJson(
  1. Map json
)

Implementation

factory AiuiEvent.fromJson(Map json) {
  return AiuiEvent(
    arg1: json['arg1'] as int,
    arg2: json['arg2'] as int,
    data: json['data'] as Map,
    eventType: EventType.tryParse(json['eventType']),
    info: json['info'] as String,
  );
}