investTypeFromJson function
id : "5" type : "1" name : "Buy" custom_date : "0" created_at : "1686226753" is_active : "1" is_deleted : "0" sort : "1" icon : "" master_user_id : "1"
Implementation
InvestType investTypeFromJson(String str) => InvestType.fromJson(json.decode(str));