InlinePart.fromJson constructor
Factory method to create an InlinePart instance from a JSON map. This is used to deserialize JSON responses containing inline part data.
Example:
var inlinePart = InlinePart.fromJson(jsonData);
Implementation
factory InlinePart.fromJson(Map<String, dynamic> json) =>
InlinePart(json['inline_data'] == null
? null
: InlineData.fromJson(
json['inline_data']));