mergeContext function

Context mergeContext(
  1. Context a,
  2. Context b
)

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);
}