LogGroup.fromJson constructor

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

Implementation

factory LogGroup.fromJson(Map<String, dynamic> json) {
  return LogGroup(
    arn: json['arn'] as String?,
    creationTime: json['creationTime'] as int?,
    kmsKeyId: json['kmsKeyId'] as String?,
    logGroupName: json['logGroupName'] as String?,
    metricFilterCount: json['metricFilterCount'] as int?,
    retentionInDays: json['retentionInDays'] as int?,
    storedBytes: json['storedBytes'] as int?,
  );
}