ScreenDensity.fromJson constructor
ScreenDensity.fromJson(
- Map json_
Implementation
ScreenDensity.fromJson(core.Map json_)
: this(
densityAlias: json_.containsKey('densityAlias')
? json_['densityAlias'] as core.String
: null,
densityDpi: json_.containsKey('densityDpi')
? json_['densityDpi'] as core.int
: null,
);