mirror of
https://git.selfprivacy.org/kherel/selfprivacy.org.app.git
synced 2024-11-08 09:53:12 +00:00
21 lines
413 B
Dart
21 lines
413 B
Dart
|
import 'dart:ui';
|
||
|
|
||
|
import 'package:equatable/equatable.dart';
|
||
|
import 'package:flutter/foundation.dart';
|
||
|
import 'package:selfprivacy/utils/color_utils.dart';
|
||
|
|
||
|
class User extends Equatable {
|
||
|
User({
|
||
|
@required this.login,
|
||
|
@required this.password,
|
||
|
});
|
||
|
|
||
|
final String login;
|
||
|
final String password;
|
||
|
|
||
|
@override
|
||
|
List<Object> get props => [login, password];
|
||
|
|
||
|
Color get color => stringToColor(login);
|
||
|
}
|