Record class

Annotations
  • @freezed

Constructors

Record({@AtUriConverter() required AtUri uri, String? cid, required Map<String, dynamic> value})
const
factory
Record.fromJson(Map<String, Object?> json)
factory

Properties

cid String?
no setterinherited
copyWith → $RecordCopyWith<Record>
Create a copy of Record with the given fields replaced by the non-null parameter values.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
hasNotStrongRef bool
Returns true if this record has not strong ref, otherwise false.
no setter
hasStrongRef bool
Returns true if this record has strong ref, otherwise false.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
uri AtUri
no setterinherited
value Map<String, dynamic>
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Serializes this Record to a JSON map.
inherited
toString() String
A string representation of this object.
inherited
toStrongRef() StrongRef
Returns the StrongRef representation of this record.

Operators

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