Drive.fromJson constructor

Drive.fromJson(
  1. Map json_
)

Implementation

Drive.fromJson(core.Map json_)
    : this(
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        root: json_.containsKey('root')
            ? DriveItem.fromJson(
                json_['root'] as core.Map<core.String, core.dynamic>)
            : null,
        title:
            json_.containsKey('title') ? json_['title'] as core.String : null,
      );