Snapshot.fromJson constructor
Snapshot.fromJson(
- Map json_
Implementation
Snapshot.fromJson(core.Map json_)
: this(
coverImage: json_.containsKey('coverImage')
? SnapshotImage.fromJson(
json_['coverImage'] as core.Map<core.String, core.dynamic>)
: null,
description: json_.containsKey('description')
? json_['description'] as core.String
: null,
driveId: json_.containsKey('driveId')
? json_['driveId'] as core.String
: null,
durationMillis: json_.containsKey('durationMillis')
? json_['durationMillis'] as core.String
: null,
id: json_.containsKey('id') ? json_['id'] as core.String : null,
kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
lastModifiedMillis: json_.containsKey('lastModifiedMillis')
? json_['lastModifiedMillis'] as core.String
: null,
progressValue: json_.containsKey('progressValue')
? json_['progressValue'] as core.String
: null,
title:
json_.containsKey('title') ? json_['title'] as core.String : null,
type: json_.containsKey('type') ? json_['type'] as core.String : null,
uniqueName: json_.containsKey('uniqueName')
? json_['uniqueName'] as core.String
: null,
);