printIncludeFilesNotification method
void
printIncludeFilesNotification()
Display a notification to the user to include the newly generated files in their assets.
Implementation
void printIncludeFilesNotification(
String? context,
Map<String, ({String hasch, String path})> localeToResource,
) {
var contextMessage = 'The';
if (context != null) {
contextMessage = 'For the messages in $context, the';
}
final fileList =
localeToResource.entries.map((e) => '\t${e.value.path}').join('\n');
print(
'''$contextMessage following files need to be declared in your assets:\n$fileList''');
}