1
import 'package:flagr/model/eval_context.dart';
2
import 'package:flagr/model/eval_debug_log.dart';
3
import 'package:built_value/json_object.dart';
4
import 'package:built_value/built_value.dart';
5
import 'package:built_value/serializer.dart';
6

7
part 'eval_result.g.dart';
8

9
abstract class EvalResult implements Built<EvalResult, EvalResultBuilder> {
10
  @nullable
11
  @BuiltValueField(wireName: r'flagID')
12
  int get flagID;
13

14
  @nullable
15
  @BuiltValueField(wireName: r'flagKey')
16
  String get flagKey;
17

18
  @nullable
19
  @BuiltValueField(wireName: r'flagSnapshotID')
20
  int get flagSnapshotID;
21

22
  @nullable
23
  @BuiltValueField(wireName: r'segmentID')
24
  int get segmentID;
25

26
  @nullable
27
  @BuiltValueField(wireName: r'variantID')
28
  int get variantID;
29

30
  @nullable
31
  @BuiltValueField(wireName: r'variantKey')
32
  String get variantKey;
33

34
  @nullable
35
  @BuiltValueField(wireName: r'variantAttachment')
36
  JsonObject get variantAttachment;
37

38
  @nullable
39
  @BuiltValueField(wireName: r'evalContext')
40
  EvalContext get evalContext;
41

42
  @nullable
43
  @BuiltValueField(wireName: r'timestamp')
44
  String get timestamp;
45

46
  @nullable
47
  @BuiltValueField(wireName: r'evalDebugLog')
48
  EvalDebugLog get evalDebugLog;
49

50
  // Boilerplate code needed to wire-up generated code
51 1
  EvalResult._();
52

53
  factory EvalResult([updates(EvalResultBuilder b)]) = _$EvalResult;
54 1
  static Serializer<EvalResult> get serializer => _$evalResultSerializer;
55
}

Read our documentation on viewing source code .

Loading