SIsExpression.fromJson constructor
Implementation
factory SIsExpression.fromJson(Map<String, dynamic> json) {
return SIsExpression(
offset: json['offset'] as int,
length: json['length'] as int,
expression:
SAstNodeFactory.fromJson(json['expression'] as Map<String, dynamic>?)
as SExpression?,
isNot: json['isNot'] as bool? ?? false,
type:
SAstNodeFactory.fromJson(json['type'] as Map<String, dynamic>?)
as STypeAnnotation?,
);
}