ChannelStatistics.fromJson constructor

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

Implementation

factory ChannelStatistics.fromJson(Map<String, dynamic> json) {
  return ChannelStatistics(
    size: json['size'] != null
        ? EstimatedResourceSize.fromJson(json['size'] as Map<String, dynamic>)
        : null,
  );
}