PrivateMessageView constructor

  1. @JsonSerializable(fieldRename: FieldRename.snake)
const PrivateMessageView({
  1. required PrivateMessage privateMessage,
  2. required PersonSafe creator,
  3. required PersonSafe recipient,
  4. required String instanceHost,
})

Implementation

@JsonSerializable(fieldRename: FieldRename.snake)
const factory PrivateMessageView({
  required PrivateMessage privateMessage,
  required PersonSafe creator,
  required PersonSafe recipient,
  required String instanceHost,
}) = _PrivateMessageView;