toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (bucket != null) 'bucket': bucket!,
      if (createTime != null)
        'createTime': createTime!.toUtc().toIso8601String(),
      if (id != null) 'id': id!,
      if (kind != null) 'kind': kind!,
      if (metageneration != null) 'metageneration': metageneration!,
      if (name != null) 'name': name!,
      if (selfLink != null) 'selfLink': selfLink!,
      if (updateTime != null)
        'updateTime': updateTime!.toUtc().toIso8601String(),
    };