UserChangeModel.fromMap constructor

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

Implementation

factory UserChangeModel.fromMap(Map<String, dynamic> map) {
  return UserChangeModel(
    oldUserId: map['oldUserId'],
    userId: map['userId'],
    sessionId: map['sessionId'],
    device: map['device'],
    os: map['os'],
    lang: map['lang'],
  );
}