Setting.fromJson constructor

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

Implementation

factory Setting.fromJson(final Map<String, dynamic> json) => Setting(
      uuid: json["uuid"] as String?,
      createdTs: json["createdTS"] as String?,
      updatedTs: json["updatedTS"] as String?,
      createdBy: json["createdBy"] as String?,
      updatedBy: json["updatedBy"] as String?,
      key: json["key"] as String?,
      value: json["value"] as String?,
      active: json["active"] as bool? ?? false,
    );