Role.fromJson constructor

Role.fromJson(
  1. Map json_
)

Implementation

Role.fromJson(core.Map json_)
    : this(
        deleted: json_['deleted'] as core.bool?,
        description: json_['description'] as core.String?,
        etag: json_['etag'] as core.String?,
        includedPermissions: (json_['includedPermissions'] as core.List?)
            ?.map((value) => value as core.String)
            .toList(),
        name: json_['name'] as core.String?,
        stage: json_['stage'] as core.String?,
        title: json_['title'] as core.String?,
      );