toLegacyMap method

Map<String, dynamic> toLegacyMap()

Implementation

Map<String, dynamic> toLegacyMap() {
  return {
    if (flutter != null) 'flutterSdkVersion': flutter,
    if (flavors != null && flavors!.isNotEmpty) 'flavors': flavors,
  };
}