build method
Builds.
The implementation of this method will be generated for you by the built_value generator.
Implementation
@override
_$DirectionsTransitLine build() {
_$DirectionsTransitLine _$result;
try {
_$result = _$v ??
new _$DirectionsTransitLine._(
agencies: _agencies?.build(),
name: name,
color: color,
shortName: shortName,
textColor: textColor,
url: url,
icon: icon,
vehicle: _vehicle?.build());
} catch (_) {
late String _$failedField;
try {
_$failedField = 'agencies';
_agencies?.build();
_$failedField = 'vehicle';
_vehicle?.build();
} catch (e) {
throw new BuiltValueNestedFieldError(
'DirectionsTransitLine', _$failedField, e.toString());
}
rethrow;
}
replace(_$result);
return _$result;
}