Create class
Operation which creates a new record.
https://atprotodart.com/docs/lexicons/com/atproto/repo/applyWrites#create
- Available extensions
- Annotations
-
- @freezed
Constructors
-
Create({@Default(comAtprotoRepoApplyWritesCreate) @JsonKey(name: r'$type') String $type, @NSIDConverter() required NSID collection, String? rkey, required Map<
String, dynamic> value, @JsonKey(name: r'$unknown') Map<String, dynamic> ? $unknown}) -
constfactory
-
Create.fromJson(Map<
String, dynamic> json) -
factory
Properties
- $type → String
-
The unique namespace for this lex object.
no setterinherited
-
$unknown
→ Map<
String, dynamic> ? -
Contains unknown objects not defined in Lexicon.
no setterinherited
- collection → NSID
-
no setterinherited
-
copyWith
→ $CreateCopyWith<
Create> -
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- rkey → String?
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
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> -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited