DisplayInfo.fromJson constructor

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

Implementation

factory DisplayInfo.fromJson(Map<String, dynamic> json) {
  return DisplayInfo(displayId: json['displayId'] as int, name: json['name'] as String, flags: json['flags'] as int?, rotation: json['rotation'] as int?);
}