CommandFetchHistory.fromJson constructor

CommandFetchHistory.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory CommandFetchHistory.fromJson(Map<String, dynamic> json) => CommandFetchHistory(
  target: json['target'] as String,
  before_msgid: json['before_msgid'] == null ? null : json['before_msgid'] as String,
  limit: json['limit'] as int,
);