hasSerializer method

  1. @protected
bool hasSerializer(
  1. DartType type
)

If this class possesses a serializing method such as toSqlite

Implementation

@protected
bool hasSerializer(DartType type) {
  final classElement = type.element2 as ClassElement;
  return classElement.getMethod(serializeMethod) != null;
}