TRTCScreenCaptureProperty.fromJson constructor

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

Parse the corresponding structure from 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'],
  );
}