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

4
part 'error.g.dart';
5

6
abstract class Error implements Built<Error, ErrorBuilder> {
7
  @nullable
8
  @BuiltValueField(wireName: r'message')
9
  String get message;
10

11
  // Boilerplate code needed to wire-up generated code
12 0
  Error._();
13

14
  factory Error([updates(ErrorBuilder b)]) = _$Error;
15 2
  static Serializer<Error> get serializer => _$errorSerializer;
16
}

Read our documentation on viewing source code .

Loading