fromJson static method

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

Implementation

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

  return InputBusinessStartPage(
    title: (json['title'] as String?) ?? '',
    message: (json['message'] as String?) ?? '',
    sticker: InputFile.fromJson(tdMapFromJson(json['sticker'])),
  );
}