JsonContextVariable.fromJson constructor

JsonContextVariable.fromJson(
  1. Map<String, Object?> json
)

Implementation

factory JsonContextVariable.fromJson(Map<String, Object?> json) {
  return JsonContextVariable(
    type: json[r'type'] as String? ?? '',
    value: json[r'value'] as Map<String, Object?>?,
  );
}