TeamDrive.fromJson constructor

TeamDrive.fromJson(
  1. Map json_
)

Implementation

TeamDrive.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,
      );