BatchGetVariableResult.fromJson constructor
Implementation
factory BatchGetVariableResult.fromJson(Map<String, dynamic> json) {
return BatchGetVariableResult(
errors: (json['errors'] as List?)
?.whereNotNull()
.map((e) => BatchGetVariableError.fromJson(e as Map<String, dynamic>))
.toList(),
variables: (json['variables'] as List?)
?.whereNotNull()
.map((e) => Variable.fromJson(e as Map<String, dynamic>))
.toList(),
);
}