ServiceTemplate class

Template for service class code generation.

This class provides static methods for generating service classes with CRUD operations and other functionality.

Constructors

ServiceTemplate()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

generate({required String tableName, required String primaryKey, required String typePrimaryKey, required List<String> variables, required List<String> queryWithJoins, required List<String> tableJoins, required List<String> importQueryModel, required List<String> customQuery}) String
Generates a service class.