Line data Source code
1 : // GENERATED CODE - DO NOT MODIFY BY HAND 2 : 3 : part of 'chatwoot_action.dart'; 4 : 5 : // ************************************************************************** 6 : // JsonSerializableGenerator 7 : // ************************************************************************** 8 : 9 0 : ChatwootAction _$ChatwootActionFromJson(Map<String, dynamic> json) { 10 0 : return ChatwootAction( 11 0 : identifier: json['identifier'] as String, 12 0 : data: json['data'] == null 13 : ? null 14 0 : : ChatwootActionData.fromJson(json['data'] as Map<String, dynamic>), 15 0 : command: json['command'] as String, 16 : ); 17 : } 18 : 19 1 : Map<String, dynamic> _$ChatwootActionToJson(ChatwootAction instance) => 20 1 : <String, dynamic>{ 21 1 : 'identifier': instance.identifier, 22 1 : 'command': instance.command, 23 2 : 'data': instance.data?.toJson(), 24 : };