Editors.fromJson constructor

Editors.fromJson(
  1. Map json_
)

Implementation

Editors.fromJson(core.Map json_)
    : this(
        domainUsersCanEdit: json_.containsKey('domainUsersCanEdit')
            ? json_['domainUsersCanEdit'] as core.bool
            : null,
        groups: json_.containsKey('groups')
            ? (json_['groups'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        users: json_.containsKey('users')
            ? (json_['users'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
      );