Expr.fromJson constructor

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

Implementation

factory Expr.fromJson(Map<String, dynamic> json) {
  return Expr(
    expression: json['expression'] ?? '',
    title: json['title'] ?? '',
    description: json['description'] ?? '',
    location: json['location'] ?? '',
  );
}