copyWith method

FrameDemand copyWith({
  1. FrameDemandFlag? flags,
  2. int? token,
})

A copy of this value with the given members replaced.

Implementation

FrameDemand copyWith({FrameDemandFlag? flags, int? token}) =>
    FrameDemand(flags: flags ?? this.flags, token: token ?? this.token);