DriveFileContent.fromMap constructor

DriveFileContent.fromMap(
  1. Map<String, dynamic> map
)

Implementation

factory DriveFileContent.fromMap(Map<String, dynamic> map) {
  return DriveFileContent(
    type: map['type'],
    path: map['path'],
    byteArray:
        map['byteArray'] == null ? null : Int8List.fromList(map['byteArray']),
  );
}