TRTCScreenCaptureProperty.fromJson constructor

TRTCScreenCaptureProperty.fromJson(
  1. Map<String, dynamic> json
)

解析JSON的相应结构

Implementation

factory TRTCScreenCaptureProperty.fromJson(Map<String, dynamic> json) {
  return TRTCScreenCaptureProperty(
    enableCaptureMouse: json['enableCaptureMouse'],
    enableHighLight: json['enableHighLight'],
    enableHighPerformance: json['enableHighPerformance'],
    highLightColor: json['highLightColor'],
    highLightWidth: json['highLightWidth'],
    enableCaptureChildWindow: json['enableCaptureChildWindow'],
  );
}