Display.fromJson constructor

Display.fromJson(
  1. Map json_
)

Implementation

Display.fromJson(core.Map json_)
    : this(
        density: json_['density'] as core.int?,
        displayId: json_['displayId'] as core.int?,
        height: json_['height'] as core.int?,
        name: json_['name'] as core.String?,
        refreshRate: json_['refreshRate'] as core.int?,
        state: json_['state'] as core.String?,
        width: json_['width'] as core.int?,
      );