ActiveContext.fromJson constructor
Implementation
factory ActiveContext.fromJson(Map<String, dynamic> json) {
return ActiveContext(
name: json['name'] as String,
parameters: (json['parameters'] as Map<String, dynamic>)
.map((k, e) => MapEntry(k, e as String)),
timeToLive: ActiveContextTimeToLive.fromJson(
json['timeToLive'] as Map<String, dynamic>),
);
}