$Expr.fromJson constructor Null safety

$Expr.fromJson(
  1. Map json_
)

Implementation

$Expr.fromJson(core.Map json_)
    : this(
        description: json_.containsKey('description')
            ? json_['description'] as core.String
            : null,
        expression: json_.containsKey('expression')
            ? json_['expression'] as core.String
            : null,
        location: json_.containsKey('location')
            ? json_['location'] as core.String
            : null,
        title:
            json_.containsKey('title') ? json_['title'] as core.String : null,
      );