asList property

List<T> get asList

Returns as a List with a,b.

Implementation

List<T> get asList => [a, b];