copyWith method

StatusCreateRequest copyWith({
  1. StatusScope? scope,
  2. List<StatusCreate>? statuses,
})

Implementation

StatusCreateRequest copyWith(
    {StatusScope? scope, List<StatusCreate>? statuses}) {
  return StatusCreateRequest(
    scope: scope ?? this.scope,
    statuses: statuses ?? this.statuses,
  );
}