hasSerializer method

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

If this class possesses a serializing method such as toSqlite

Implementation

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