DartCodeWriter class
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
Static Methods
-
equals(StringBuffer buffer)
→ void
-
-
final_(StringBuffer buffer)
→ void
-
-
late(StringBuffer buffer)
→ void
-
-
mustCallSuper(StringBuffer buffer)
→ void
-
-
nonVirtual(StringBuffer buffer)
→ void
-
-
override(StringBuffer buffer)
→ void
-
-
protected(StringBuffer buffer)
→ void
-
-
static(StringBuffer buffer)
→ void
-
-
visibleForTesting(StringBuffer buffer)
→ void
-
-
-
writeConstructorParameter(StringBuffer buffer, {required String name, bool isNullable = false, bool isPrivate = false, bool asNamed = false})
→ void
-
-
-
writeFieldSignature(StringBuffer buffer, {required String name, String? type, bool isStatic = false, bool isFinal = false, bool isLate = false, bool isPrivate = false, bool isNullable = false, bool isOverriding = false, String? defaultValue})
→ void
-
-
writeGetterSignature(StringBuffer buffer, {required String name, String? type, bool isStatic = false, bool isPrivate = false, bool isNullable = false, bool isOverriding = false, String? returns, List<String>? customReturnLines})
→ void
-
-
writeMethodParameter(StringBuffer buffer, {required String name, String? type, ParameterType parameterType = ParameterType.regular, String? defaultValue, bool isInAbstractClass = false, bool forceNotRequired = false})
→ void
-
-
writeMethodSignature(StringBuffer buffer, {required String name, String? returningType, bool isStatic = false, bool isPrivate = false, bool isProtected = false, bool isOverriding = false, bool annotateWithMustCallSuper = false})
→ void
-
-
-
writeSetterSignature(StringBuffer buffer, {required String name, required String paramName, String? paramType, bool isStatic = false, bool isPrivate = false, bool isOverriding = false, String? sets, List<String>? customSetLines})
→ void
-