ExprRecord.fromJson constructor

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

Implementation

factory ExprRecord.fromJson(Map<String, Object?> json) {
  return ExprRecord({
    for (final entry in json.entries)
      entry.key: Expr.fromJson(entry.value as Map<String, Object?>)
  });
}