LogStream.fromJson constructor

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

Implementation

factory LogStream.fromJson(Map<String, dynamic> json) {
  return LogStream(
    arn: json['arn'] as String?,
    creationTime: json['creationTime'] as int?,
    firstEventTimestamp: json['firstEventTimestamp'] as int?,
    lastEventTimestamp: json['lastEventTimestamp'] as int?,
    lastIngestionTime: json['lastIngestionTime'] as int?,
    logStreamName: json['logStreamName'] as String?,
    storedBytes: json['storedBytes'] as int?,
    uploadSequenceToken: json['uploadSequenceToken'] as String?,
  );
}