import 'package:flutter/material.dart';

class UserProvider with ChangeNotifier {
  String _userId = '';
  String _userName = '';
  String _userLastName = '';

  String get userId => _userId;
  String get userName => _userName;
  String get userLastName => _userLastName;

  void setUser(String id, String name, String lastName) {
    _userId = id;
    _userName = name;
    _userLastName = lastName;
    notifyListeners();
  }
}
