build method

  1. @override
_$Attachment build()
override

Builds.

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

Implementation

@override
_$Attachment build() {
  final _$result = _$v ??
      new _$Attachment._(
          text: BuiltValueNullFieldError.checkNotNull(
              text, 'Attachment', 'text'),
          type: BuiltValueNullFieldError.checkNotNull(
              type, 'Attachment', 'type'),
          url: url);
  replace(_$result);
  return _$result;
}