toRawPage function
Src --> Raw
Implementation
RawPage toRawPage(SrcPage srcPage, String bookFolderPath) {
final codeName = toCodeName(srcPage.name);
final filePath = '$bookFolderPath/$codeName$dartExt';
final dart = toDartPage(srcPage);
final rawPage = RawPage(
fileContent: dart,
filePath: filePath,
);
return rawPage;
}