AdStyleColors.fromJson constructor

AdStyleColors.fromJson(
  1. Map json_
)

Implementation

AdStyleColors.fromJson(core.Map json_)
    : this(
        background: json_.containsKey('background')
            ? json_['background'] as core.String
            : null,
        border: json_.containsKey('border')
            ? json_['border'] as core.String
            : null,
        text: json_.containsKey('text') ? json_['text'] as core.String : null,
        title:
            json_.containsKey('title') ? json_['title'] as core.String : null,
        url: json_.containsKey('url') ? json_['url'] as core.String : null,
      );