fromJson static method

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

Implementation

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

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