copyWith method

GetKeywordEmojis copyWith({
  1. String? text,
  2. List<String>? inputLanguageCodes,
})

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

Implementation

GetKeywordEmojis copyWith({
  String? text,
  List<String>? inputLanguageCodes,
}) =>
    GetKeywordEmojis(
      text: text ?? this.text,
      inputLanguageCodes: inputLanguageCodes ?? this.inputLanguageCodes,
    );