AndroidSettings.fromJsonFile constructor

AndroidSettings.fromJsonFile(
  1. Map<String, dynamic> json
)

Parses json; throws FormatException on a missing or mistyped field.

Implementation

AndroidSettings.fromJsonFile(Map<String, dynamic> json)
  : width = _requireInt(json, 'width'),
    height = _requireInt(json, 'height'),
    fps = _requireInt(json, 'fps');