userModel top-level constant
String
const userModel
Implementation
const userModel = """
import 'package:freezed_annotation/freezed_annotation.dart';
part 'user_model.freezed.dart';
part 'user_model.g.dart';
@freezed
class UserModel with _\$UserModel {
const factory UserModel({
@JsonKey(name: 'name') String? name,
}) = _UserModel;
factory UserModel.fromJson(Map<String, Object?> json) =>
_\$UserModelFromJson(json);
}
""";