FlutterCastFramework.create constructor
Create the Flutter Cast Framework. namespaces is the list of namespaces to listen for custom messages.
Implementation
FlutterCastFramework.create(List<String> namespaces) {
debugPrint("FlutterCastFramework created!");
final castContext = CastContext(_hostApi);
this._castFlutterApiImplementor = new _CastFlutterApiImplementor(
castContext: castContext,
namespaces: namespaces,
);
CastFlutterApi.setup(this._castFlutterApiImplementor);
}