• This project
    • Loading...
  • Sign in

flutter_package / fluttertpc_get

Go to a project
Toggle navigation
  • Projects
  • Groups
  • Snippets
  • Help
Toggle navigation pinning
  • Project
  • Activity
  • Repository
  • Pipelines
  • Graphs
  • Issues 0
  • Merge Requests 0
  • Wiki
  • Network
  • Create a new issue
  • Builds
  • Commits
  • Files
  • Commits
  • Network
  • Compare
  • Branches
  • Tags
Switch branch/tag
  • fluttertpc_get
  • benchmark
  • lib
  • _bloc_lib
  • _shared
  • item.entity.dart
  • Added benchmarks · 36c68d17
    36c68d17 Browse Files
    Jonny Borges authored 2020-06-10 15:29:46 -0300
item.entity.dart 352 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
import 'package:meta/meta.dart';

import 'entitity.dart';

@immutable
class Item extends Entity {
  final String title;

  Item({String id, this.title}) : super();

  @override
  List<Object> get props => super.props..addAll([id, title]);
}

final List<Item> sampleItems = [
  Item(title: 'Item 1'),
  Item(title: 'Item 2'),
  Item(title: 'Item 3')
];