PutRecordsOutput.fromJson constructor
Implementation
factory PutRecordsOutput.fromJson(Map<String, dynamic> json) {
return PutRecordsOutput(
records: (json['Records'] as List)
.whereNotNull()
.map((e) => PutRecordsResultEntry.fromJson(e as Map<String, dynamic>))
.toList(),
encryptionType: (json['EncryptionType'] as String?)?.toEncryptionType(),
failedRecordCount: json['FailedRecordCount'] as int?,
);
}