LastReportGenerationExecutionError.fromJson constructor

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

Implementation

factory LastReportGenerationExecutionError.fromJson(
    Map<String, dynamic> json) {
  return LastReportGenerationExecutionError(
    errorCode:
        (json['ErrorCode'] as String?)?.toUsageReportExecutionErrorCode(),
    errorMessage: json['ErrorMessage'] as String?,
  );
}