create

abstract fun create(permission: P, coroutineContext: CoroutineContext): BasePermissionStateRepo<P>

Creates a BasePermissionStateRepo associated with permission

Return

the created BasePermissionStateRepo

Parameters

permission

the P the resulting BasePermissionStateRepo should manage.

coroutineContext