NoticeModel class

Annotations
  • @Collection()

Constructors

NoticeModel({required String convId, required String noticeId, required int createTime, required String title, required int contentType, required String content, required NoticeOptionsModel options, required String ext, bool deleted = false})

Properties

content String
getter/setter pair
contentType int
getter/setter pair
convId String
getter/setter pair
createTime int
getter/setter pair
deleted bool
getter/setter pair
ext String
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
id ↔ Id
getter/setter pair
noticeId String
getter/setter pair
options NoticeOptionsModel
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
title String
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() String
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

fromJson(String source) NoticeModel
fromProto(NoticeData noticeData) NoticeModel