BatchPutMessageErrorEntry.fromJson constructor

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

Implementation

factory BatchPutMessageErrorEntry.fromJson(Map<String, dynamic> json) {
  return BatchPutMessageErrorEntry(
    errorCode: (json['errorCode'] as String?)?.toErrorCode(),
    errorMessage: json['errorMessage'] as String?,
    messageId: json['messageId'] as String?,
  );
}