DisplayFeature.fromJson constructor

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

Implementation

factory DisplayFeature.fromJson(Map<String, dynamic> json) {
  return DisplayFeature(
    orientation:
        DisplayFeatureOrientation.fromJson(json['orientation'] as String),
    offset: json['offset'] as int,
    maskLength: json['maskLength'] as int,
  );
}