$NowUserEntityFromJson function

NowUserEntity $NowUserEntityFromJson(
  1. Map<String, dynamic> json
)

Implementation

NowUserEntity $NowUserEntityFromJson(Map<String, dynamic> json) {
	final NowUserEntity nowUserEntity = NowUserEntity();
	final String? userId = jsonConvert.convert<String>(json['userId']);
	if (userId != null) {
		nowUserEntity.userId = userId;
	}
	final int? id = jsonConvert.convert<int>(json['id']);
	if (id != null) {
		nowUserEntity.id = id;
	}
	return nowUserEntity;
}