Creates a new instance of Context.
The domain and action parameters are required.
domain
action
Context({required this.domain, required this.action});