// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'working_site_model.dart';

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

WorkingSiteModel _$WorkingSiteModelFromJson(Map<String, dynamic> json) =>
    WorkingSiteModel(
      id: json['id'] as String?,
      name: json['name'] as String?,
      avatar: json['avatar'] as String?,
      customerBalanceModel:
          json['customer_balance'] == null
              ? null
              : CustomerBalanceModel.fromJson(
                json['customer_balance'] as Map<String, dynamic>,
              ),
    );

Map<String, dynamic> _$WorkingSiteModelToJson(WorkingSiteModel instance) =>
    <String, dynamic>{
      'id': instance.id,
      'name': instance.name,
      'avatar': instance.avatar,
      'customer_balance': instance.customerBalanceModel,
    };
