LoginEvent.fromJson constructor

LoginEvent.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory LoginEvent.fromJson(Map<String, dynamic> json) {
  final event = _$LoginEventFromJson(json);
  event.appInfo = AppInfo.fromJson(json);
  event.user = User.fromJson(json);
  return event;
}