AttachmentMenuBotColor.fromJson constructor

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

Parse from a json

Implementation

factory AttachmentMenuBotColor.fromJson(Map<String, dynamic> json) =>
    AttachmentMenuBotColor(
      lightColor: json['light_color'],
      darkColor: json['dark_color'],
    );