DeclarationRecordHelper class final
Useful helper for chat.bsky.actor.declaration
.
Constructors
- DeclarationRecordHelper(BlueskyServiceContext _ctx)
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
create(
{String? rkey, required UDeclarationAllowIncoming allowIncoming, Map< String, dynamic> ? $unknown, Map<String, String> ? $headers, PostClient? $client}) → Future<XRPCResponse< CreateRecordOutput> > - Creates declaration record.
-
delete(
{Map< String, String> ? $headers, PostClient? $client}) → Future<XRPCResponse< DeleteRecordOutput> > - Deletes declaration record.
-
get(
{String? cid, Map< String, String> ? $unknown, Map<String, String> ? $headers, PostClient? $client}) → Future<XRPCResponse< GetRecordOutput> > -
Returns declaration record associated with
rkey
. -
list(
{int? limit, String? cursor, String? rkeyStart, String? rkeyEnd, bool? reverse, Map< String, String> ? $unknown, Map<String, String> ? $headers, PostClient? $client}) → Future<XRPCResponse< ListRecordsOutput> > - Returns declaration records.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
put(
{String? rkey, required DeclarationRecord record, Map< String, dynamic> ? $unknown, Map<String, String> ? $headers, PostClient? $client}) → Future<XRPCResponse< PutRecordOutput> > - Updates declaration record.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited