UserId.fromJson(Map<String, dynamic> json) : success = json["success"], userId = json.containsKey('userId') ? (json['userId']) : null;