ChatBubbleColor.fromJson constructor

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

Implementation

factory ChatBubbleColor.fromJson(Map<String, dynamic> json) =>
    ChatBubbleColor(
      color: json["color"].toString().toColor(),
      textPrimaryColor: json["textPrimaryColor"].toString().toColor(),
      textSecondaryColor: json["textSecondaryColor"].toString().toColor(),
    );