BusinessIntro.fromJson constructor

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

Creates a BusinessIntro object from a JSON map.

Implementation

factory BusinessIntro.fromJson(Map<String, dynamic> json) {
  return BusinessIntro(
    title: json['title'],
    message: json['message'],
    sticker:
        json['sticker'] != null ? Sticker.fromJson(json['sticker']) : null,
  );
}