ReplicationTaskStats.fromJson constructor
ReplicationTaskStats.fromJson(
- Map<String, dynamic> json
)
Implementation
factory ReplicationTaskStats.fromJson(Map<String, dynamic> json) {
return ReplicationTaskStats(
elapsedTimeMillis: json['ElapsedTimeMillis'] as int?,
freshStartDate: timeStampFromJson(json['FreshStartDate']),
fullLoadFinishDate: timeStampFromJson(json['FullLoadFinishDate']),
fullLoadProgressPercent: json['FullLoadProgressPercent'] as int?,
fullLoadStartDate: timeStampFromJson(json['FullLoadStartDate']),
startDate: timeStampFromJson(json['StartDate']),
stopDate: timeStampFromJson(json['StopDate']),
tablesErrored: json['TablesErrored'] as int?,
tablesLoaded: json['TablesLoaded'] as int?,
tablesLoading: json['TablesLoading'] as int?,
tablesQueued: json['TablesQueued'] as int?,
);
}