// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'tender_approvals_toggle_response.dart';

// **************************************************************************
// JsonSerializableGenerator
// **************************************************************************

_TenderApprovalsToggleResponse _$TenderApprovalsToggleResponseFromJson(
  Map<String, dynamic> json,
) => _TenderApprovalsToggleResponse(
  message: json['message'] as String?,
  success: json['success'] as bool?,
  error:
      json['error'] == null
          ? null
          : ErrorModel.fromJson(json['error'] as Map<String, dynamic>),
  data:
      json['data'] == null
          ? null
          : TenderApprovalsToggleData.fromJson(
            json['data'] as Map<String, dynamic>,
          ),
);

Map<String, dynamic> _$TenderApprovalsToggleResponseToJson(
  _TenderApprovalsToggleResponse instance,
) => <String, dynamic>{
  'message': instance.message,
  'success': instance.success,
  'error': instance.error,
  'data': instance.data,
};
