Files
gopeed/ui/flutter/lib/api/model/result.g.dart
2026-09-05 19:53:41 +08:00

17 lines
623 B
Dart

// GENERATED CODE - DO NOT MODIFY BY HAND
part of 'result.dart';
// **************************************************************************
// JsonSerializableGenerator
// **************************************************************************
Result<T> _$ResultFromJson<T>(Map<String, dynamic> json, T Function(Object? json) fromJsonT) => Result<T>(
code: (json['code'] as num).toInt(),
msg: json['msg'] as String?,
data: _$nullableGenericFromJson(json['data'], fromJsonT),
);
T? _$nullableGenericFromJson<T>(Object? input, T Function(Object? json) fromJson) =>
input == null ? null : fromJson(input);