copyWith method

Info copyWith({
  1. int? version,
  2. String? author,
})

Implementation

Info copyWith({
  int? version,
  String? author,
}) =>
    Info(
      version: version ?? this.version,
      author: author ?? this.author,
    );