Fix invalid class extensions for new dart version

This commit is contained in:
Nutcake 2023-05-12 17:05:31 +02:00
parent 9f921e979a
commit 0c5e354a31
2 changed files with 2 additions and 2 deletions

View file

@ -2,7 +2,7 @@ import 'package:contacts_plus_plus/models/session.dart';
import 'package:contacts_plus_plus/models/user_profile.dart';
import 'package:flutter/material.dart';
class Friend extends Comparable {
class Friend implements Comparable {
final String id;
final String username;
final String ownerId;

View file

@ -37,7 +37,7 @@ enum MessageState {
read,
}
class Message extends Comparable {
class Message implements Comparable {
final String id;
final String recipientId;
final String senderId;