CustomEventModel.fromMap constructor

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

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'],
  );
}