mergeContext function
Implementation
Context mergeContext(Context a, Context b) {
return Context(
a.app,
mergeContextDevice(a.device, b.device),
a.library,
a.locale,
a.network,
a.os,
mergeContextScreen(a.screen, b.screen),
a.timezone,
a.traits,
instanceId: a.instanceId ?? b.instanceId);
}