UProductResponse class

Constructors

UProductResponse.new({required String id, required DateTime createdAt, required DateTime updatedAt, required UProductJson jsonData, required List<int> tags, required String title, required int point, required String userId, required int? visitCount, String? code, String? subtitle, String? description, String? slug, String? type, String? content, double? latitude, double? longitude, int? stock, double? price, String? parentId, UProductResponse? parent, UUserResponse? user, List<UProductResponse>? children, List<UMediaResponse>? media, List<UCategoryResponse>? categories, int? commentCount, bool? isFollowing, int? childrenCount})
UProductResponse.fromJson(String str)
factory
UProductResponse.fromMap(Map<String, dynamic> json)
factory

Properties

categories List<UCategoryResponse>?
final
children List<UProductResponse>?
final
childrenCount int?
final
code String?
final
commentCount int?
final
content String?
final
createdAt DateTime
final
description String?
final
hashCode int
The hash code for this object.
no setterinherited
id String
final
isFollowing bool?
final
jsonData UProductJson
final
latitude double?
final
longitude double?
final
media List<UMediaResponse>?
final
parent UProductResponse?
final
parentId String?
final
point int
final
price double?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
slug String?
final
stock int?
final
subtitle String?
final
tags List<int>
final
title String
final
type String?
final
updatedAt DateTime
final
user UUserResponse?
final
userId String
final
visitCount int?
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() String
toMap() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited