TelemetryMetadata.fromJson constructor

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

Implementation

factory TelemetryMetadata.fromJson(Map<String, dynamic> json) {
  return TelemetryMetadata(
    count: json['count'] as int,
    messageType: json['messageType'] as String,
    dataSize: json['dataSize'] as int?,
  );
}