UserList.fromJson constructor

UserList.fromJson(
  1. Map json_
)

Implementation

UserList.fromJson(core.Map json_)
    : this(
        description: json_.containsKey('description')
            ? json_['description'] as core.String
            : null,
        displayName: json_.containsKey('displayName')
            ? json_['displayName'] as core.String
            : null,
        membershipDurationDays: json_.containsKey('membershipDurationDays')
            ? json_['membershipDurationDays'] as core.String
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        status: json_.containsKey('status')
            ? json_['status'] as core.String
            : null,
        urlRestriction: json_.containsKey('urlRestriction')
            ? UrlRestriction.fromJson(json_['urlRestriction']
                as core.Map<core.String, core.dynamic>)
            : null,
      );