toJson method

Json toJson()

The wire shape.

Implementation

Json toJson() => compact({'id': id, 'name': name, 'size': size, 'type': type, 'url': url});