fromJson static method

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

Implementation

static ContentPartFileBase64 fromJson(Map<String, dynamic> json) =>
    ContentPartFileBase64(
      data: json['data'] as String,
      mediaType: json['media_type'] as String,
      filename: json['filename'] as String?,
      providerOptions: json['provider_options'] as Map<String, dynamic>?,
    );