getAmplitude method Null safety

Future<NIMResult<int>> getAmplitude()

Implementation

Future<NIMResult<int>> getAmplitude() async {
  return _platform.getAmplitude();
}