fromJson static method
Implementation
static ContentPartFile fromJson(Map<String, dynamic> json) => ContentPartFile(
data: (json['data'] as List).cast<int>(),
mediaType: json['media_type'] as String,
filename: json['filename'] as String?,
providerOptions: json['provider_options'] as Map<String, dynamic>?,
);