TF-2948 Apply new identity view for web
Signed-off-by: dab246 <tdvu@linagora.com>
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
import 'package:equatable/equatable.dart';
|
||||
import 'package:jmap_dart_client/jmap/identities/identity.dart';
|
||||
|
||||
class IdentitySignature with EquatableMixin {
|
||||
final IdentityId identityId;
|
||||
final String signature;
|
||||
|
||||
IdentitySignature({required this.identityId, required this.signature});
|
||||
|
||||
IdentitySignature newSignature(String newSignature) {
|
||||
return IdentitySignature(
|
||||
identityId: identityId,
|
||||
signature: newSignature
|
||||
);
|
||||
}
|
||||
|
||||
@override
|
||||
List<Object> get props => [identityId, signature];
|
||||
}
|
||||
Reference in New Issue
Block a user