ResultFrame.fromJson constructor
Implementation
factory ResultFrame.fromJson(Map<String, dynamic> json) {
return ResultFrame(
records: (json['records'] as List?)
?.whereNotNull()
.map((e) => Record.fromJson(e as Map<String, dynamic>))
.toList(),
resultSetMetadata: json['resultSetMetadata'] != null
? ResultSetMetadata.fromJson(
json['resultSetMetadata'] as Map<String, dynamic>)
: null,
);
}