Line data Source code
1 : // GENERATED CODE - DO NOT MODIFY BY HAND 2 : 3 : part of 'csexception.dart'; 4 : 5 : // ************************************************************************** 6 : // JsonSerializableGenerator 7 : // ************************************************************************** 8 : 9 0 : CSException _$CSExceptionFromJson(Map<String, dynamic> json) { 10 0 : return CSException( 11 0 : json['error_message'] as String, 12 0 : json['error_code'] as int, 13 0 : )..statusCode = json['statusCode'] as int; 14 : } 15 : 16 0 : Map<String, dynamic> _$CSExceptionToJson(CSException instance) => 17 0 : <String, dynamic>{ 18 0 : 'error_message': instance.errorMessage, 19 0 : 'error_code': instance.errorCode, 20 0 : 'statusCode': instance.statusCode, 21 : };