Css.fromJson constructor

Css.fromJson(
  1. Map json_
)

Implementation

Css.fromJson(core.Map json_)
    : this(
        cssDomainId: json_.containsKey('cssDomainId')
            ? json_['cssDomainId'] as core.String
            : null,
        cssGroupId: json_.containsKey('cssGroupId')
            ? json_['cssGroupId'] as core.String
            : null,
        displayName: json_.containsKey('displayName')
            ? json_['displayName'] as core.String
            : null,
        fullName: json_.containsKey('fullName')
            ? json_['fullName'] as core.String
            : null,
        homepageUri: json_.containsKey('homepageUri')
            ? json_['homepageUri'] as core.String
            : null,
        labelIds: json_.containsKey('labelIds')
            ? (json_['labelIds'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
      );