fromFile static method

Map fromFile(
  1. File file
)

Implementation

static Map<dynamic, dynamic> fromFile(File file) {
  final content = file.readAsStringSync();

  return fromContent(content);
}