UpdateAction constructor

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

Implementation

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