// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'sendMessageParams.dart';

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

SendMessageParams _$SendMessageParamsFromJson(Map<String, dynamic> json) =>
    SendMessageParams(
      json['message'] as String,
      replyTo: json['replyTo'] as int?,
    );

Map<String, dynamic> _$SendMessageParamsToJson(SendMessageParams instance) {
  final val = <String, dynamic>{
    'message': instance.message,
  };

  void writeNotNull(String key, dynamic value) {
    if (value != null) {
      val[key] = value;
    }
  }

  writeNotNull('replyTo', instance.replyTo);
  return val;
}
