AdStyle.fromJson constructor
AdStyle.fromJson(
- Map json_
Implementation
AdStyle.fromJson(core.Map json_)
: this(
colors: json_.containsKey('colors')
? AdStyleColors.fromJson(
json_['colors'] as core.Map<core.String, core.dynamic>)
: null,
corners: json_.containsKey('corners')
? json_['corners'] as core.String
: null,
font: json_.containsKey('font')
? AdStyleFont.fromJson(
json_['font'] as core.Map<core.String, core.dynamic>)
: null,
kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
);