getPlatformVersion method
네이티브 플랫폼의 플랫폼 버전 정보를 가져오는 메서드 invokeMethod() 메서드를 사용하여 플랫폼 버전 정보를 요청하고 응답을 기다린다. 응답은 Future<String?> 형태로 반환
Implementation
@override
Future<String?> getPlatformVersion() async {
final version = await methodChannel.invokeMethod<String>('getPlatformVersion');
return version;
}