copyWith method

  1. @override
ReplyMarkupForceReply copyWith({
  1. bool? isPersonal,
  2. String? inputFieldPlaceholder,
})
override

Returns a copy with the given fields replaced. For a nullable field pass a function, e.g. field: () => null to clear it.

Implementation

@override
ReplyMarkupForceReply copyWith({
  bool? isPersonal,
  String? inputFieldPlaceholder,
}) =>
    ReplyMarkupForceReply(
      isPersonal: isPersonal ?? this.isPersonal,
      inputFieldPlaceholder:
          inputFieldPlaceholder ?? this.inputFieldPlaceholder,
    );