copyWith abstract method

  1. @useResult
MethodInfo copyWith({
  1. int? id,
  2. String? endpoint,
  3. String? method,
})

Returns a shallow copy of this MethodInfo with some or all fields replaced by the given arguments.

Implementation

@_i1.useResult
MethodInfo copyWith({
  int? id,
  String? endpoint,
  String? method,
});