VeLivePlayerError.fromMap constructor

VeLivePlayerError.fromMap(
  1. Map map
)

Implementation

factory VeLivePlayerError.fromMap(Map<dynamic, dynamic> map) {
  int? errorCode = map['errorCode'];
  String? errorMsg = map['errorMsg'];
  return VeLivePlayerError(errorCode: errorCode, errorMsg: errorMsg);
}