This repository has been archived by the owner on Nov 1, 2024. It is now read-only.
v3.1.0
3.1.0
- Added
Expression.asA
for creating explicit casts:
void main() {
test('should emit an explicit cast', () {
expect(
refer('foo').asA(refer('String')),
equalsDart('foo as String'),
);
});
}