UserModel.fromJson constructor

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

Implementation

UserModel.fromJson(Map<String, dynamic> json)
    : userId = json['userId'],
      email = json['email'],
      name = json['name'],
      profile = json['profile'];