getNote method

String? getNote(
  1. String name
)

Implementation

String? getNote(String name) {
  final data = getAsset('$kGameNotesPath/$name.md');
  if (data == null) return null;
  return utf8.decode(data);
}