copyWith method

FlyFontToken copyWith({
  1. List<String>? sans,
  2. List<String>? serif,
  3. List<String>? mono,
  4. Map<String, List<String>>? extras,
})

Create a copy with updated values

Implementation

FlyFontToken copyWith({
  List<String>? sans,
  List<String>? serif,
  List<String>? mono,
  Map<String, List<String>>? extras,
}) {
  return FlyFontToken(
    sans: sans ?? this.sans,
    serif: serif ?? this.serif,
    mono: mono ?? this.mono,
    extras: extras ?? this.extras,
  );
}