CreateAction constructor

  1. @jsonSerializable
const CreateAction({
  1. @typeKey @Default(comAtprotoRepoApplyWritesCreate) String type,
  2. @nsidConverter required NSID collection,
  3. String? rkey,
  4. @JsonKey(name: 'value') required Map<String, dynamic> record,
})

Implementation

@jsonSerializable
const factory CreateAction({
  @typeKey @Default(comAtprotoRepoApplyWritesCreate) String type,
  @nsidConverter required NSID collection,
  String? rkey,
  @JsonKey(name: 'value') required Map<String, dynamic> record,
}) = _CreateAction;