ParseFile constructor

ParseFile(dynamic json)

Creates a new file from a JSON.

Implementation

ParseFile(dynamic json) :
      this.type = 'File',
      this.url = json['url'],
      this.name = json['name'];