CreateRoleRequest.fromJson constructor

CreateRoleRequest.fromJson(
  1. Map json_
)

Implementation

CreateRoleRequest.fromJson(core.Map json_)
    : this(
        role: json_.containsKey('role')
            ? Role.fromJson(
                json_['role'] as core.Map<core.String, core.dynamic>)
            : null,
        roleId: json_.containsKey('roleId')
            ? json_['roleId'] as core.String
            : null,
      );