FilePart.fromJson constructor

FilePart.fromJson(
  1. Map<String, dynamic> json
)

Parse from a json

Implementation

factory FilePart.fromJson(Map<String, dynamic> json) => FilePart(
      data: json['data'],
      extra: json['@extra'],
      clientId: json['@client_id'],
    );