fromJson static method
Implementation
static MessageAutoDeleteTime? fromJson(Map<String, dynamic>? json) {
if (json == null) {
return null;
}
return MessageAutoDeleteTime(
time: (json['time'] as int?) ?? 0,
);
}
static MessageAutoDeleteTime? fromJson(Map<String, dynamic>? json) {
if (json == null) {
return null;
}
return MessageAutoDeleteTime(
time: (json['time'] as int?) ?? 0,
);
}