OrStatement.fromJson constructor

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

Implementation

factory OrStatement.fromJson(Map<String, dynamic> json) {
  return OrStatement(
    statements: (json['Statements'] as List)
        .whereNotNull()
        .map((e) => Statement.fromJson(e as Map<String, dynamic>))
        .toList(),
  );
}