factory TriggerLog.fromJson(Map<String, dynamic> json) => TriggerLog( type: json['type'], message: json['message'], data: json['data'], );