ActiveContextTimeToLive.fromJson constructor

ActiveContextTimeToLive.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory ActiveContextTimeToLive.fromJson(Map<String, dynamic> json) {
  return ActiveContextTimeToLive(
    timeToLiveInSeconds: json['timeToLiveInSeconds'] as int?,
    turnsToLive: json['turnsToLive'] as int?,
  );
}