localizedStringFile method Null safety

Future<void> localizedStringFile(
  1. String localizedStringFile
)

Sets filename to look for localization in IOS.

Implementation

static Future<void> localizedStringFile(String localizedStringFile) async {
  if (Platform.isIOS) {
    await _channel.invokeMethod('loadLocalizedStringFile', <String, dynamic>{
      'localizedStringFile': localizedStringFile,
    });
  } else {
    print('localizedStringFile method only available for IOS');
  }
}