22 lines
821 B
Dart
22 lines
821 B
Dart
|
// GENERATED CODE - DO NOT MODIFY BY HAND
|
||
|
|
||
|
part of 'user_dto.dart';
|
||
|
|
||
|
// **************************************************************************
|
||
|
// JsonSerializableGenerator
|
||
|
// **************************************************************************
|
||
|
|
||
|
UserDto _$UserDtoFromJson(Map<String, dynamic> json) => UserDto(
|
||
|
id: (json['id'] as num?)?.toInt(),
|
||
|
name: json['name'] as String?,
|
||
|
surname: json['surname'] as String?,
|
||
|
description: json['description'] as String?,
|
||
|
image: json['image'] as String?,
|
||
|
gender: json['gender'] as String?,
|
||
|
dateOfBirth: json['dateOfBirth'] as String?,
|
||
|
lat: (json['lat'] as num?)?.toDouble(),
|
||
|
lon: (json['lon'] as num?)?.toDouble(),
|
||
|
age: (json['age'] as num?)?.toInt(),
|
||
|
distance: (json['distance'] as num?)?.toDouble(),
|
||
|
);
|