amondnet / flagr.dart
1
import 'package:flagr/model/flag.dart';
2
import 'package:built_value/built_value.dart';
3
import 'package:built_value/serializer.dart';
4

5
part 'flag_snapshot.g.dart';
6

7
abstract class FlagSnapshot
8
    implements Built<FlagSnapshot, FlagSnapshotBuilder> {
9
  @nullable
10
  @BuiltValueField(wireName: r'id')
11
  int get id;
12

13
  @nullable
14
  @BuiltValueField(wireName: r'updatedBy')
15
  String get updatedBy;
16

17
  @nullable
18
  @BuiltValueField(wireName: r'flag')
19
  Flag get flag;
20

21
  @nullable
22
  @BuiltValueField(wireName: r'updatedAt')
23
  String get updatedAt;
24

25
  // Boilerplate code needed to wire-up generated code
26 0
  FlagSnapshot._();
27

28
  factory FlagSnapshot([updates(FlagSnapshotBuilder b)]) = _$FlagSnapshot;
29 2
  static Serializer<FlagSnapshot> get serializer => _$flagSnapshotSerializer;
30
}

Read our documentation on viewing source code .

Loading