fromMinimalCompactJson static method

Context fromMinimalCompactJson(
  1. Map<String, dynamic> json
)

Creates a Context instance from a minimal compact JSON map.

The json parameter is a map that contains the "d" and "a" keys. Returns a Context instance.

Implementation

static Context fromMinimalCompactJson(Map<String, dynamic> json) {
  try {
    return fromCompactJson(json);
  } catch (e) {
    rethrow;
  }
}