create static method

Implementation

static Future<RtmpConnection> create() async {
  var object = RtmpConnection._();
  object._memory = await HaishinKitPlatform.instance.newRtmpConnection();
  object._channel =
      EventChannel("com.haishinkit.eventchannel/${object._memory}");
  return object;
}