getFirebaseConfig static method

Map getFirebaseConfig(
  1. String pathGitsYaml
)

Implementation

static Map<dynamic, dynamic> getFirebaseConfig(String pathGitsYaml) {
  try {
    final yaml = YamlHelper.loadFileYaml(pathGitsYaml);
    return yaml['firebase'];
  } catch (e) {
    return {};
  }
}