InternalLinkTypeTextCompositionStyle.fromJson constructor

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

Parses a InternalLinkTypeTextCompositionStyle from TDLib JSON.

Implementation

factory InternalLinkTypeTextCompositionStyle.fromJson(
  Map<String, dynamic> json,
) => InternalLinkTypeTextCompositionStyle(
  styleName: _readString(json['style_name']),
  extra: json['@extra'],
  clientId: _readClientId(json['@client_id']),
);