build method

  1. @override
_$MessagePayload<Data> build()
override

Builds.

The implementation of this method will be generated for you by the built_value generator.

Implementation

@override
_$MessagePayload<Data> build() {
  _$MessagePayload<Data> _$result;
  try {
    _$result =
        _$v ?? new _$MessagePayload<Data>._(data: data, notification: _notification?.build());
  } catch (_) {
    late String _$failedField;
    try {
      _$failedField = 'notification';
      _notification?.build();
    } catch (e) {
      throw new BuiltValueNestedFieldError('MessagePayload', _$failedField, e.toString());
    }
    rethrow;
  }
  replace(_$result);
  return _$result;
}