$MatchCostUserFromJson function

MatchCostUser $MatchCostUserFromJson(
  1. Map<String, dynamic> json
)

Implementation

MatchCostUser $MatchCostUserFromJson(Map<String, dynamic> json) {
	final MatchCostUser matchCostUser = MatchCostUser();
	final String? cost = jsonConvert.convert<String>(json['cost']);
	if (cost != null) {
		matchCostUser.cost = cost;
	}
	final String? userId = jsonConvert.convert<String>(json['userId']);
	if (userId != null) {
		matchCostUser.userId = userId;
	}
	return matchCostUser;
}