generate method
Generates necessary code for a SteamField
Implementation
void generate({
required IOSink fileSink,
}) {
String correctedFieldName = name.clearSteamNaming().camelCase;
Token token = type.toToken();
fileSink.writeStructField(
fieldName: correctedFieldName,
fieldType: token.typeFfiDart,
annotation: token.typeAnnotation,
isPrivate: private,
);
}