mirrored_repositories/MirrorFly-Flutter-Sample/lib/app


import 'package:mirror_fly_demo/app/model/chat_message_model.dart';

abstract class GroupedMedia {
  late double id;
}

class MessageItem implements GroupedMedia {
  final ChatMessageModel chatMessage;
  Map? linkMap = {};
  @override
  var id = -double.infinity + 0;
  MessageItem(this.chatMessage, [this.linkMap]);
}

class Header implements GroupedMedia {
  final String titleName;
  @override
  var id = -double.infinity + 1;
  Header(this.titleName);
}
