getKeysFromXml method

  1. @protected
Future<Set<String>> getKeysFromXml(
  1. File file
)

Implementation

@protected
Future<Set<String>> getKeysFromXml(File file) async {
  final xml = getXML(file);

  return xml.resources.children
      .whereType<XmlElement>()
      .map((e) => e.attributeName)
      .toSet();
}