fromJson static method

InlineQueryResultsButtonTypeWebApp? fromJson(
  1. Map<String, dynamic>? json
)
override

Implementation

static InlineQueryResultsButtonTypeWebApp? fromJson(
  Map<String, dynamic>? json,
) {
  if (json == null) {
    return null;
  }

  return InlineQueryResultsButtonTypeWebApp(
    url: (json['url'] as String?) ?? '',
  );
}