CustomEventModel.fromMap constructor
Implementation
factory CustomEventModel.fromMap(Map<String, dynamic> map) {
return CustomEventModel(
type: map['type'],
params: map['params'],
sessionId: map['sessionId'],
userId: map['userId'],
device: map['device'],
os: map['os'],
lang: map['lang'],
);
}