SharpLinkMeta class

#-link autocomplete details.

Annotations
  • @freezed

Constructors

SharpLinkMeta({@JsonKey(name: 'jid') required String jid, @JsonKey(name: 'chat_type') required String chatType, @Default(false) @JsonKey(name: 'public') bool? isPublic, @JsonKey(name: 'task_status') String? taskStatus, @JsonKey(name: 'num') int? num, @Default(false) @Deprecated('Deprecated: use `TaskStatus == "done"` comparsion.') @JsonKey(name: 'done') bool? done})
const
factory
SharpLinkMeta.fromJson(Map<String, dynamic> json)
factory

Properties

chatType String
Chat type.
no setterinherited
copyWith → $SharpLinkMetaCopyWith<SharpLinkMeta>
no setterinherited
done bool?
Deprecated: use TaskStatus == "done" comparsion.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
isPublic bool?
Is task or group public for non-guests.
no setterinherited
jid String
Chat id.
no setterinherited
num int?
Task number (for tasks).
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
taskStatus String?
Task status (for tasks).
no setterinherited

Methods

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

Operators

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