ChannelStorageSummary.fromJson constructor

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

Implementation

factory ChannelStorageSummary.fromJson(Map<String, dynamic> json) {
  return ChannelStorageSummary(
    customerManagedS3: json['customerManagedS3'] != null
        ? CustomerManagedChannelS3StorageSummary.fromJson(
            json['customerManagedS3'] as Map<String, dynamic>)
        : null,
    serviceManagedS3: json['serviceManagedS3'] != null
        ? ServiceManagedChannelS3StorageSummary.fromJson(
            json['serviceManagedS3'] as Map<String, dynamic>)
        : null,
  );
}