isType method

  1. @override
bool? isType(
  1. Object? v,
  2. String type
)
override

value is T for host types.

Implementation

@override
bool? isType(Object? v, String type) {
  switch (type) {
    case 'IconData':
      return v is l0.IconData;
  }
  return null;
}